package com.javasm.dao;

import com.javasm.entity.Room;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * 陪玩直播大厅(Room)表数据库访问层
 *
 * @author makejava
 * @since 2025-05-30 12:56:44
 */
public interface RoomDao {

   List<Room>  listRoom();

   List<Room>  listbyCustonerandPush(Room newRoom);

   List<Room>   listbynameandcategory(@Param("myname") String name , @Param("mycate") Integer category);


   Room  getRoombyid(int newid);

   int InsertRoom(Room newRoom);

   int  updateByRoomId(Room newRoom);


   int deleteByRoomId(Room newRoom);

}

